<?php

namespace App\Enums\Message;

class MessageStatusEnum
{

    const WAIT_AUDIT = ['status' => 0, 'text' => "待审核"];
    const PASS_AUDIT = ['status' => 1, 'text' => "正常"];
    const FAIL_AUDIT = ['status' => 2, 'text' => "审核失败"];

    public static function getStatus($data)
    {
        return $data['status'];
    }

    public static function getText($data)
    {
        return $data['text'];
    }
}
